package com.xfpp.javaDemo.strategy;

public class StrategyTest {
	public static void main(String[] args) {
//		int a[] = {7,4,9,2,0};
		Cat[] a = {new Cat(3,3),new Cat(2,2),new Cat(4,4)};
//		Dog[] a = {new Dog(3),new Dog(2),new Dog(1)};
		DataSorter.sort(a);
		DataSorter.p(a);
	}
}
